* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

input,
textarea {
	outline: none;
}

img {
	display: block;
}

ul li {
	list-style: none;
}

.fg:after {
	content:"";
	display: block;
	clear: both;
	width: 0px;
	height: 0px;
	visibility: none;
}

//搜索部分
.top{
 margin-top: -70px;
    height: 40px;
    background: #ddd;
    .top1{
        width: 1000px;
        height: 40px;
        background: #ddd;
        margin: 0 auto;
        li{
            float: left;
            width: 100px;
            text-align: center;
            line-height: 40px;
            font-size: 14px;
            color: rgb(122, 120, 120);

        }
        .nav{
            color: red;
        }
    }
}
//图片logo部分

.starter-template {
    padding: 40px 15px;
    text-align: center;
    height: 40px;
}

.userinfo {
    float: right;
    color: #9d9d9d;
    line-height: 50px;
}
.logo{
  
    height: 100px;
    width: 1000px;
   // background: coral;
    margin: auto;
    margin-top: 20px;
    position: relative;
    .big-logo{
        font-size: 100px;
        color:rgba(216, 5, 12, 0.952);
        
    }
    p{
        position: absolute;
        top: 35px;
        left: 100px;
        font-size: 30px;
        
    }
    .search{
        position: relative;
        width: 100px;
        height: 30px;
       // background: orchid;
       top: -110px;
      left: 600px;
      input{
          height: 30px;
          width: 380px;
          border: 3px solid rgba(216, 5, 12, 0.952);
      }
     .btn1{
         height: 30px;
         width: 60px;
         position: relative;
         top: 33px;
         left: 2px;
         border: none;
         color: rgb(126, 123, 123);
     }
     .btn2{
        height: 30px;
        width: 80px;
        position: relative;
        top: -33px;
        left: 303px;
        border: none;
        color: rgb(126, 123, 123);
        background: rgba(216, 5, 12, 0.952);
        color: white;
        font-size: 24px;
    }
    }
}
//每个商品部分
body{
    padding-top: 70px;
}
.cart-container{
    border: 1px solid #f1f1f1;
    border-top: 2px solid #aaa;
    background: #fff;
    width: 990px;
    margin: 0 auto;
}
.goods{
    position: relative;
    border-top: 1px solid #c5c5c5;
    line-height: 20px;
    background: #fff;
    padding: 0 0 1px 40px;
    clear: both;

    &::after{
          content:  "";
          display: block;
          clear: both;
          overflow: hidden;
    }
}
.p-goods{
    width: 300px;
    float: left;
    padding: 15px 0 10px;

    .p-img{
          position: relative;
          float: left;
          width: 80px;
          height: 80px;
          border: 1px solid #eee;
          margin-right: 30px;
          background: #fff;
          padding: 0;
          text-align: center;
          overflow: visible; 
          img {
                width : 100%;
                height: 100%;
          }
    }
    .p-item{    
                height: 40px;
                line-height: 20px;
                overflow: hidden;
                font-family: verdana,Microsoft YaHei,SimSun,-apple-system,BlinkMacSystemFont,PingFang SC;
    }
  
}

.p-price{
    position: relative;
    width: 150px;
    padding-right: 40px;
    text-align: right;
    outline: none;
    float: left;
    padding: 15px 0 10px;
    color: #f10;
}
.p-quantity{
    width: 84px;
    float: left;
    padding: 15px 0 10px;
    margin-left: 80px;
    
    .cartnum {
          width: 80px;
          border: 0;
          overflow: hidden;

          button{
                position: static;
                float: left;
                outline: 0;
                text-align: center;
                box-sizing: border-box;
                color: #232326;
                border: 1px solid #cbcbcb;
                padding: 0;
                border-width: 1px;
                background: #f1f1f1;
                width: 17px;
                height: 20px;
                line-height: 16px;
                vertical-align: middle;
          }
          input {
                border-width: 1px 0;
                width: 46px;
                position: static;
                float: left;
                outline: 0;
                text-align: center;
                box-sizing: border-box;
                height: 20px;
                color: #232326;
                border: 1px solid #cbcbcb;
                background: #fff;
                line-height: 18px;
                vertical-align: middle;
                padding: 0;
          }
    }
}

.p-sum{
    @extend .p-price;
    color: #333;
}

.p-options{
    margin-left: 80px;
    width: 75px;
    float: left;
    padding: 15px 0 10px;
    a{
          color: #666;
          display: block;
          text-decoration: none;
          background-color: rgba(0,0,0,0);
    }
}